package com.custom.cmg.controller;

import com.custom.cmg.entity.Person;
import com.custom.cmg.mapper.PersonMapper;
import com.mindbook.pblcbl.entity.user.RoleFunctionAssociation;
import com.mindbook.pblcbl.mapper.user.RoleFunctionAssociationMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

/**
 * @PACKAGE_NAME: com.custom.cmg.controller
 * @NAME: PersonController
 * @USER: wxb
 * @DATE: 2020/2/2
 * @TIME: 22:04
 * @YEAR: 2020
 * @MONTH: 02
 * @MONTH_NAME_SHORT: 2月
 * @MONTH_NAME_FULL: 二月
 * @DAY: 02
 * @DAY_NAME_SHORT: 周日
 * @DAY_NAME_FULL: 星期日
 * @HOUR: 22
 * @MINUTE: 04
 * @PROJECT_NAME: custom_mybatis_generator
 * @Descript: 查询用户信息，测试用户的一对一关联关系
 */

@RequestMapping("person")
@RestController
@Slf4j
public class PersonController {

    @PostMapping(value = "/")
    private String save(Person person){
        return person.toString();
    }


}
